Enter a type and click search.




Results for Magento\UrlRewrite\Ui\Component\UrlRewrite\DataProvider\SearchResult

File: vendor/magento/module-url-rewrite/etc/di.xml

<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
    <arguments>
        <argument name="collections" xsi:type="array">
            <item name="url_rewrite_listing_data_source"
                  xsi:type="string">
                Magento\UrlRewrite\Ui\Component\UrlRewrite\DataProvider\SearchResult
            </item>
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory object that the following arguments should be used in the foo object's constructor.

  • $collections = [...items...];

File: vendor/magento/module-url-rewrite/etc/di.xml

<virtualType name="Magento\UrlRewrite\Ui\Component\UrlRewrite\DataProvider\SearchResult"
             type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
    <arguments>
        <argument name="mainTable" xsi:type="string">
            url_rewrite
        </argument>
        <argument name="resourceModel" xsi:type="string">
            Magento\UrlRewrite\Model\ResourceModel\UrlRewrite
        </argument>
        <argument name="identifierName" xsi:type="string">
            url_rewrite_id
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\UrlRewrite\Ui\Component\UrlRewrite\DataProvider\SearchResult object that it should return a Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult object.

This configuration tells the Object Manager that when a user wants a Magento\UrlRewrite\Ui\Component\UrlRewrite\DataProvider\SearchResult object that the following arguments should be used in the foo object's constructor.

  • $mainTable = "url_rewrite";
  • $resourceModel = "Magento\UrlRewrite\Model\ResourceModel\UrlRewrite";
  • $identifierName = "url_rewrite_id";